package com.ihr360.payroll.controller.staff.validator;

import com.ihr360.payroll.request.StaffPayrollInfosRequest;
import com.ihr360.shared.validator.SessionValidator;
import org.springframework.stereotype.Component;

@Component
public class StaffPayrollInfosSessionValidator extends SessionValidator<StaffPayrollInfosRequest> {

    @Override
    public boolean supports(Class<?> clazz) {
        return super.supports(clazz) && StaffPayrollInfosRequest.class.equals(clazz);
    }

    @Override
    public void validate(StaffPayrollInfosRequest target) {
        super.validate(target);
    }

}
